﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management.Automation;
using System.ComponentModel;
using System.Management.Automation.Runspaces;

namespace AbstractLabs.PowerShell.Twitter
{
    [RunInstaller(true)]
    public class TwitterPSSnapIn : CustomPSSnapIn
    {
        public TwitterPSSnapIn()
            :base()
        {
            Cmdlets.Add(new CmdletConfigurationEntry("Set-TwitterAuthorization", typeof(AuthorizationCmdlet), null));
            Cmdlets.Add(new CmdletConfigurationEntry("Set-Tweet", typeof(TweetCmdlet), null));
        }

        public override string Description
        {
            get { return "This snap-in contains commands for communicating with Twitter"; }
        }

        public override string Name
        {
            get { return GetType().Name; }
        }

        public override string Vendor
        {
            get { return "AbstractLabs"; }
        }
    }
}
